home *** CD-ROM | disk | FTP | other *** search
-
-
-
- DDDDttttWWWWssssmmmmGGGGeeeettttWWWWoooorrrrkkkkssssppppaaaacccceeeeIIIInnnnUUUUffffNNNNooooIIII((((XXXX3333))))SSSSyyyysssstttteeeemmmm VVVV ((((1111 AAAAuuuugggguuuussssttttDDDD1111tttt9999WWWW9999ssss5555mmmm))))GGGGeeeettttWWWWoooorrrrkkkkssssppppaaaacccceeeeIIIInnnnffffoooo((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- DtWsmGetWorkspaceInfo - get detailed workspace information
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<DDDDtttt////WWWWssssmmmm....hhhh>>>>
-
- SSSSttttaaaattttuuuussss DDDDttttWWWWssssmmmmGGGGeeeettttWWWWoooorrrrkkkkssssppppaaaacccceeeeIIIInnnnffffoooo((((DDDDiiiissssppppllllaaaayyyy ****_d_i_s_p_l_a_y,,,,
- WWWWiiiinnnnddddoooowwww _r_o_o_t,,,,
- AAAAttttoooommmm _a_W_o_r_k_s_p_a_c_e,,,,
- DDDDttttWWWWssssmmmmWWWWoooorrrrkkkkssssppppaaaacccceeeeIIIInnnnffffoooo ********_p_p_W_s_I_n_f_o))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The DDDDttttWWWWssssmmmmGGGGeeeettttWWWWoooorrrrkkkkssssppppaaaacccceeeeIIIInnnnffffoooo() function works with the CDE
- workspace manager, ddddttttwwwwmmmm(1), and returns detailed information
- on a specific workspace.
-
- The _d_i_s_p_l_a_y argument is the X display.
-
- The _r_o_o_t argument is the root window of the screen of
- interest.
-
- The _a_W_o_r_k_s_p_a_c_e argument is the workspace name (converted to
- an X atom).
-
- The *_p_p_W_s_I_n_f_o argument is the address of a variable to
- receive the returned pointer to the workspace information
- data.
-
- The DDDDttttWWWWssssmmmmWWWWoooorrrrkkkkssssppppaaaacccceeeeIIIInnnnffffoooo structure contains at least the
- following members:
- AAAAttttoooommmm _w_o_r_k_s_p_a_c_e The workspace name (converted to
- an X atom).
- uuuunnnnssssiiiiggggnnnneeeedddd lllloooonnnngggg _b_g The pixel ID used for the
- background color of the
- backdrop.
- uuuunnnnssssiiiiggggnnnneeeedddd lllloooonnnngggg _f_g The pixel ID used for the
- foreground color of the
- backdrop.
- AAAAttttoooommmm _b_a_c_k_d_r_o_p_N_a_m_e The backdrop file name
- (converted to an X atom). The
- file must be in either X Bitmap
- file format (with extension ....bbbbmmmm)
- or X Pixmap file format (with
- extension ....ppppmmmm). The workspace
- management services look for the
- file along the same path used
- for searching icons. The
- directory ////uuuussssrrrr////ddddtttt////bbbbaaaacccckkkkddddrrrrooooppppssss is
- the default directory if the
- file cannot be found along the
- icon search path.
-
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-
-
-
- DDDDttttWWWWssssmmmmGGGGeeeettttWWWWoooorrrrkkkkssssppppaaaacccceeeeIIIInnnnUUUUffffNNNNooooIIII((((XXXX3333))))SSSSyyyysssstttteeeemmmm VVVV ((((1111 AAAAuuuugggguuuussssttttDDDD1111tttt9999WWWW9999ssss5555mmmm))))GGGGeeeettttWWWWoooorrrrkkkkssssppppaaaacccceeeeIIIInnnnffffoooo((((3333))))
-
-
-
- iiiinnnntttt _c_o_l_o_r_S_e_t_I_d The colorset number used for
- this workspace, which affects
- the backdrop color and the
- button color for this workspace
- on the front panel.
- cccchhhhaaaarrrr *_p_c_h_T_i_t_l_e The title displayed in the
- button for this workspace on the
- front panel. This string is
- interpreted in the locale in
- which the CDE workspace manager,
- ddddttttwwwwmmmm(1), is running. The title
- is different from the workspace
- name. The workspace name, when
- converted from an X atom, is
- used as the identifier for a
- workspace in the workspace
- manager function calls. The CDE
- workspace manager, ddddttttwwwwmmmm(1).
- also uses the workspace name as
- a resource name; thus, the
- characters used in a workspace
- name are restricted to the
- characters in the X Portable
- Character Set. The workspace
- name for a workspace created
- from the front panel is
- generated automatically by the
- CDE workspace manager, ddddttttwwwwmmmm(1).
- WWWWiiiinnnnddddoooowwww *_b_a_c_k_d_r_o_p_W_i_n_d_o_w_s A pointer to an array of windows
- that make up the backdrop.
- iiiinnnntttt _n_u_m_B_a_c_k_d_r_o_p_W_i_n_d_o_w_s The number of elements in the
- _b_a_c_k_d_r_o_p_W_i_n_d_o_w_s array.
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- Upon successful completion, the DDDDttttWWWWssssmmmmGGGGeeeettttWWWWoooorrrrkkkkssssppppaaaacccceeeeIIIInnnnffffoooo()
- function returns Success and the workspace manager returns
- in *_p_p_W_s_I_n_f_o a pointer to a DDDDttttWWWWssssmmmmIIIInnnnffffoooo structure that
- contains information about the workspace _a_W_o_r_k_s_p_a_c_e;
- otherwise, it returns a value not equal to Success.
-
- AAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNN UUUUSSSSAAAAGGGGEEEE
- If the DDDDttttWWWWssssmmmmGGGGeeeettttWWWWoooorrrrkkkkssssppppaaaacccceeeeIIIInnnnffffoooo() function is not successful,
- failure may be due to a memory allocation error or failure
- to find the correct workspace information (that is, the CDE
- workspace manager, ddddttttwwwwmmmm(1), is not running). The
- application must use the DDDDttttWWWWssssmmmmFFFFrrrreeeeeeeeWWWWoooorrrrkkkkssssppppaaaacccceeeeIIIInnnnffffoooo(3) function
- to free the data returned in *_p_p_W_s_I_n_f_o. The
- *_b_a_c_k_d_r_o_p_W_i_n_d_o_w_s pointer may be useful for applications that
- are interested in some events on the root window. Since the
- backdrop covers the root window, the backdrop catches the
- button events before they reach the root.
-
-
-
-
- Page 2 (printed 11/11/03)
-
-
-
-
-
-
- DDDDttttWWWWssssmmmmGGGGeeeettttWWWWoooorrrrkkkkssssppppaaaacccceeeeIIIInnnnUUUUffffNNNNooooIIII((((XXXX3333))))SSSSyyyysssstttteeeemmmm VVVV ((((1111 AAAAuuuugggguuuussssttttDDDD1111tttt9999WWWW9999ssss5555mmmm))))GGGGeeeettttWWWWoooorrrrkkkkssssppppaaaacccceeeeIIIInnnnffffoooo((((3333))))
-
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- DDDDttttWWWWssssmmmm(5), ddddttttwwwwmmmm(1), DDDDttttWWWWssssmmmmGGGGeeeettttWWWWoooorrrrkkkkssssppppaaaacccceeeeLLLLiiiisssstttt(3),
- DDDDttttWWWWssssmmmmFFFFrrrreeeeeeeeWWWWoooorrrrkkkkssssppppaaaacccceeeeIIIInnnnffffoooo(3).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 3 (printed 11/11/03)
-
-
-
-